import { pubRequire } from '@utils/public'
const baseUrl = '/notices'
// 获取列表
export function getSearchList(params, callBack, errBack) {
  return pubRequire('get', `/notices/audit/operate`, params, callBack, errBack)
}
// 审核通过请求
export function passRequestAPI(id, callBack, errBack) {
  return pubRequire(
    'put',
    `/notices/${id}/audit/operate/pass`,
    '',
    callBack,
    errBack
  )
}

export function getTouchCrowdAPI(noticeId, callBack, errBack) {
  return pubRequire(
    'get',
    `/notices/${noticeId}/audit/operate/crowds`,
    '',
    callBack,
    errBack
  )
}
// 获取金额
export function getMoneyAPI(params, callBack, errBack) {
  return pubRequire('get', `/crowds/sms-costs`, params, callBack, errBack)
}
